projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63f0ff
)
(display_mode_element): One more case where a string's
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 27 Sep 2001 08:35:44 +0000
(08:35 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 27 Sep 2001 08:35:44 +0000
(08:35 +0000)
multibyteness should be used for display.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 295bf1be5f64564eb39019fd1b174fbab423e009..00447cdb48dddfd40088d1abafcf2fd47bf8e3fa 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-13478,7
+13478,8
@@
display_mode_element (it, depth, field_width, precision, elt)
int bytepos = last - lisp_string;
int charpos = string_byte_to_char (elt, bytepos);
n += display_string (NULL, elt, Qnil, 0, charpos,
- it, 0, prec, 0, -1);
+ it, 0, prec, 0,
+ STRING_MULTIBYTE (elt));
}
}
else /* c == '%' */